package com.mentalhealthplatform.teacherV2.dto;

import com.mentalhealthplatform.global.rbac.dto.normal.RoleDTO;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Set;
import java.util.UUID;

@Getter
@Setter
@NoArgsConstructor
public class UserDTO {
    private UUID id;
    private String username;
    private boolean status;
    private Set<RoleDTO> roles;
    // 全参构造方法
    public UserDTO(UUID id, String username, boolean status,Set<RoleDTO> roles) {
        this.id = id;
        this.username = username;
        this.status = status;
        this.roles = roles;
    }
}
